package com.liu.communitysystemend.module.visitor.domain;


import com.baomidou.mybatisplus.annotation.*;
import com.liu.communitysystemend.utils.Page;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @TableName visitor
 */
@TableName(value ="visitor")
@Data
public class Visitor implements Serializable {
    /**
     * 
     */
    @TableId
    private String id;

    /**
     * 
     */
    private Integer visitorNum;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String roomId;

    /**
     * 
     */
    private String userId;

    /**
     * 
     */
    private String visitorPhone;

    /**
     * 
     */
    private String reason;

    /**
     * 
     */
    private Integer days;

    /**
     * 
     */
    private Date visitorTime;

    /**
     * 
     */
    private String carNo;

    @TableLogic
    @TableField("is_deleted")
    private Integer isDeleted;

    @TableField(value = "create_by", fill = FieldFill.INSERT)
    private String createBy;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(value = "update_by", fill = FieldFill.UPDATE)
    private String updateBy;

    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;
    @TableField(exist = false)
    private Page page;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}